package 字符串拼接小练习;
//字符串拼接小练习
public class Main {
	
	public static void test01() {
		String name = "Tom";
		System.out.println("Hello, " + name + "!");
	}
	
	public static void test02() {
		System.out.println("Ja" + "va" + " " + "8");
	}
	
	public static void test03() {
		System.out.println(1 + 2 + "3");
		System.out.println("1" + 2 + 3);
	}
	
	public static void main(String[] args) {
		test01();
		test02();
		test03();
	}

}
